package com.bristua.barcode.common.constants;


/**
 * @author hrt
 * @date 2018年1月8日
 * @description 
 * 常用设置
 */
public class Constants {

	/**
	 * session内容
	 */
	public static final String S_MOBILENO = "mobileno";
	public static final String S_OPENID = "openid";
	public static final String S_PLAT= "plat";

	/**
	 * cookies内容
	 */
	public static final String C_MOBILENO = "productpack_mobileno";
	

	/**默认平台*/

	public static String DEFAULT_PLAT = "yqg";
	/**
	 * 接口内容类型
	 */
	public static final String CONTENTTYPE_TEXT = "text/html";
	public static final String CONTENTTYPE_JSON = "application/json";
	public static final String CONTENTTYPE_APPLICATION = "application/x-www-form-urlencoded";
	
	/**
	 * 编码格式GBK
	 */
	public static final String CHARSET_GBK = "GBK";
	
	/**
	 * 编码格式UTF-8
	 */
	public static final String CHARSET_UTF8 = "UTF-8";

	/**
	 * 登录错误次数
	 */
	public static final int LOGIN_ERROR_NUM = 5;
	
	/**
	 * 获取短信验证码限制次数
	 */
	public static final int SMS_LIMIT_NUM = 10;

	/**
	 * 未支付订单
	 */
	public static final String NO_PAY_ORDER_SET= "no_pay_orders";

	public static final int PAY_SUCCESS= 1;//支付成功

	public static final int WAIT_PAY= 0;//待支付

	public static final int PAY_FAIL= 2;//支付失败

	public static final String COOKIE_KEY ="cookie_key";


}
